home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / BYacc-CW 1.9 / Yacc.g < prev    next >
Text File  |  1995-10-09  |  2KB  |  76 lines

  1. /*
  2.  * GIJO panel definition for Berkeley Yacc.
  3.  */
  4.  
  5. filetype { 'TEXT' }
  6.  
  7. gijo {{
  8.     90,                                    /* height of the dialog in pixels */
  9.     "Berkeley Yacc: an LALR(1) parser generator.",            /* help string */
  10.     {
  11. /*1*/    notDependent{},
  12.         CheckOption{
  13.             NotSet, {20,18,36,195}, "Generate header","-d",
  14.             "If set, Yacc will generate a header file called "
  15.             "≈.tab.h (where ≈ is the specified filename prefix)"
  16.         },
  17.  
  18. /*2*/    notDependent{},
  19.         CheckOption{
  20.             NotSet,{36,18,52,195}, "Generate description","-v",
  21.             "If set, Yacc will generate a human-readable description "
  22.             "of the generated parser in the file ≈.output (where ≈ is "
  23.             "the specified filename prefix)."
  24.         },
  25.  
  26. /*3*/    notDependent{},
  27.         CheckOption{
  28.             Set,{52,18,68,195}, "Include #lines","-l",
  29.             "Yacc will include #line directives in the output file "
  30.             "if this option is set.  These directives should only be "
  31.             "included if the C compiler supports them.  #line "
  32.             "directives specified by the user will be retained."
  33.         },
  34.  
  35. /*4*/    notDependent{},
  36.         CheckOption{
  37.             NotSet,{68,18,84,195},"Debug code included","-t",
  38.             "If set, Yacc will include debugging statements into the "
  39.             "generated parser code."
  40.         },
  41.  
  42. /*5*/    notDependent{},
  43.         CheckOption{
  44.             NotSet,{20,200,36,460},"Seperate code & tables files","-r",
  45.             "If set, Yacc will generate distinct files for code & tables "
  46.             "called respectively ≈.code.c and ≈.tab.c (where ≈ is the "
  47.             "specified filename prefix)."
  48.         },
  49.  
  50. /*6*/    notDependent{},
  51.         RegularEntry{
  52.             "Filename prefix:", {40,200,56,290},{40,318,56,460},
  53.             "y", keepCase, "-b",
  54.             "This option specifies the prefix used in all output "
  55.             "filenames."
  56.         },
  57.  
  58. /*7*/    notDependent{},
  59.         RegularEntry{
  60.             "Symbol prefix:",    {64,200,80,290},{64,318,80,460},
  61.             "yy",keepCase,"-p",
  62.             "This option specifies the prefix prepended to all Yacc "
  63.             "generated symbols."
  64.         },
  65.  
  66. /*8*/    notDependent{}, VersionDialog{
  67.             VersionString{"1.9"},
  68.             "Berkeley Yacc 1.9 by robert.corbett@eng.Sun.COM"
  69.             "\n\nMac interface by Jeff Laing <jeffl@suburbia.apana.org.au>",
  70.             0
  71.         },
  72.  
  73. /*9*/    Or{{6}}, DoItButton{}
  74.  
  75.     }
  76. }}